{extend name="layout" /}
{block name="body"}
<main role="main" class="flex-shrink-0">
  <div class="container">
    <div class="manual-basic py-3">
      <img src="{$minfo.cover|get_file_path}" alt="{$minfo.title}" class="manual-cover img-thumbnail" />
      <h5 class="manual-title pt-3">{$minfo.title}</h5>
      <p><small class="book-author">{$minfo.author}</small></p>
      <a href="{:url('/manual/'.$minfo['route_name'].'/content')}" class="btn btn-primary">阅读详细</a>
    </div>
    
    <div class="block-title">
      <h2>内容梗概</h2>
      <span class="block-title-line"></span>
    </div>
    <div class="author-about">
        {$minfo.description}
    </div>
    <div class="block-title">
      <h2>目录</h2>
      <span class="block-title-line"></span>
    </div>
    <div class="book-catalog">
      <ul class="list-unstyled">
        {volist name="docs" id="vo"}
        <li><a href="{:url('/manual/'.$minfo['route_name'].'/'.$vo['id'])}">{$vo.doc_name}</a></li>
        {/volist}
      </ul>
    </div>

  </div>
</main>
{/block}